![]() |
PATH![]() |
![]() ![]() |
Draws scroll bar arrows consistent with the current system preferences.
pascal OSStatus DrawThemeScrollBarArrows (
const Rect *bounds,
ThemeTrackEnableState enableState,
ThemeTrackPressState pressState,
Boolean isHoriz,
Rect *trackBounds);
The DrawThemeScrollBarArrows function draws a set of theme-compliant scroll bar arrows for the scroll bar whose position and dimensions are specified in the bounds parameter. Depending upon the current system preferences, DrawThemeScrollBarArrows draws the arrows in one of the following configurations:
As shown in Listing 3-7 in Drawing Tracks , your application can use DrawThemeScrollBarArrows in conjunction with the function DrawThemeTrack to draw a complete scroll bar.